package com.test;

import java.util.Set;

import org.springframework.stereotype.Repository;

import com.piggsoft.comms.security.Roles;
import com.piggsoft.comms.security.Users;
import com.piggsoft.comms.security.UsersDao;

@Repository("usersDao")
public class UserDaoImpl implements UsersDao{

	@Override
	public Users findByName(String username) {
		return new Users(){

			@Override
			public String getAccount() {
				return null;
			}

			@Override
			public String getPassword() {
				return null;
			}

			@Override
			public Set<Roles> getRoles() {
				return null;
			}
			
		};
	}

}
